﻿using Microsoft.VisualStudio.Shell;
using Sasa.QualityTools.CodeAnalysis.FxCopIntegrator.Properties;
using Sasa.QualityTools.CodeAnalysis.FxCopIntegrator.ViewModels;
using System;
using System.Runtime.InteropServices;

namespace Sasa.QualityTools.CodeAnalysis.FxCopIntegrator.UI
{
    [Guid("33671D93-FEC5-4FF6-B769-3CA0934F4F75")]
    public class RuleDetailWindowPane : ToolWindowPane
    {
        public RuleDetailWindowPane()
        {
            Caption = Resources.RuleDetailWindowTitle;
            BitmapResourceID = 301;
            BitmapIndex = 0;
            
            var content = new RuleDetailContent();
            content.DataContext = new RuleViewModel();
            Content = content;
        }
    }
}
